[INFO] cloning repository https://github.com/yuulive/ho
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuulive/ho" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuulive%2Fho", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuulive%2Fho'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 53b9cff5b8c240c267db83d0e565df4c4badf16f
[INFO] building yuulive/ho against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuulive%2Fho" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yuulive/ho on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yuulive/ho
[INFO] finished tweaking git repo https://github.com/yuulive/ho
[INFO] tweaked toml for git repo https://github.com/yuulive/ho written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/yuulive/ho already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f55d4486dc7ed96d62bed385af619ddfc5b3cc7661445af6659337437ccf0d89
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f55d4486dc7ed96d62bed385af619ddfc5b3cc7661445af6659337437ccf0d89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f55d4486dc7ed96d62bed385af619ddfc5b3cc7661445af6659337437ccf0d89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f55d4486dc7ed96d62bed385af619ddfc5b3cc7661445af6659337437ccf0d89", kill_on_drop: false }`
[INFO] [stdout] f55d4486dc7ed96d62bed385af619ddfc5b3cc7661445af6659337437ccf0d89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03bd96ba7e1dc86beba48cbf238e84c13671fbfc3696083fc52e735ec56a6c3f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "03bd96ba7e1dc86beba48cbf238e84c13671fbfc3696083fc52e735ec56a6c3f", kill_on_drop: false }`
[INFO] [stderr]    Compiling ho v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/http/request.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 return &buffer[..i+1];;
[INFO] [stdout]    |                                       ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/middleware.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<Middleware+Sync+Send>>
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware+Sync+Send`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware+Sync+Send`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b Fn(Request, Args) -> Response
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/handler.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     for i in 0..32 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 let mut worker = Server::create_worker(container.router.clone(), container.middleware.clone());
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/handler.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut buffer = read_buffer(&mut stream);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/handler.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut first = true;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `thread`
[INFO] [stdout]   --> src/lib.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     thread: thread::JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Quit`
[INFO] [stdout]   --> src/lib.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     Quit
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Busy`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Busy
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     worker.sender.send(Orders::Request(stream));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 worker.sender.send(Orders::Request(stream));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     stream.set_read_timeout(Some(Duration::new(5, 0)));
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.33s
[INFO] running `Command { std: "docker" "inspect" "03bd96ba7e1dc86beba48cbf238e84c13671fbfc3696083fc52e735ec56a6c3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03bd96ba7e1dc86beba48cbf238e84c13671fbfc3696083fc52e735ec56a6c3f", kill_on_drop: false }`
[INFO] [stdout] 03bd96ba7e1dc86beba48cbf238e84c13671fbfc3696083fc52e735ec56a6c3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b44104bbb27e803f95980808f17e2a6ed5c3b969c10403dc8f81524381d735ef
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b44104bbb27e803f95980808f17e2a6ed5c3b969c10403dc8f81524381d735ef", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/http/request.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 return &buffer[..i+1];;
[INFO] [stdout]    |                                       ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ho v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/middleware.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<Middleware+Sync+Send>>
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware+Sync+Send`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware+Sync+Send`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b Fn(Request, Args) -> Response
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/handler.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     for i in 0..32 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 let mut worker = Server::create_worker(container.router.clone(), container.middleware.clone());
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/handler.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut buffer = read_buffer(&mut stream);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/handler.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let mut first = true;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `thread`
[INFO] [stdout]   --> src/lib.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     thread: thread::JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Quit`
[INFO] [stdout]   --> src/lib.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     Quit
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Busy`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Busy
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 |                     worker.sender.send(Orders::Request(stream));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:107:17
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 worker.sender.send(Orders::Request(stream));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     stream.set_read_timeout(Some(Duration::new(5, 0)));
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/http/request.rs:66:39
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 return &buffer[..i+1];;
[INFO] [stdout]    |                                       ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/middleware.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 |     middleware: Vec<Box<Middleware+Sync+Send>>
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware+Sync+Send`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add(&mut self, mw: Box<Middleware+Sync+Send>) {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Middleware+Sync+Send`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn get_handle(&'a self, router: &'b Fn(Request, Args) -> Response)-> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     router: &'b Fn(Request, Args) -> Response
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/middleware.rs:36:56
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn new(store: &'a MiddlewareStore, router: &'b Fn(Request, Args) -> Response) -> MiddlewareHandle<'a, 'b> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request, Args) -> Response`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:253:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 253 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 252 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 253 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value")}},
[INFO] [stdout] 254 |             None => panic!("Router fn does not return Some.")
[INFO] [stdout]     |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:258:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 258 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value 2nd visit")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 258 |             Some((func, _args)) => {if func != test1 {panic!("wrong return value 2nd visit")}},
[INFO] [stdout] 259 |             None => panic!("Router fn does not return Some at 2nd visit.")
[INFO] [stdout]     |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 263 |             Some((func, _args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 263 |             Some((func, _args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout] 264 |             None => panic!("Router fn does not return Some.")
[INFO] [stdout]     |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 269 |             Some((func, args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:270:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 269 |             Some((func, args)) => {if func != empty {panic!("wrong return value")}},
[INFO] [stdout] 270 |             None => panic!("Router fn does not return Some at /.")
[INFO] [stdout]     |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:281:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 281 |             Some((_func, args)) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:287:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] ...
[INFO] [stdout] 287 |             None => panic!("Router fn does not return Some with variables.")
[INFO] [stdout]     |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:298:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 298 |             Some((_func, args)) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/router/paths.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         match test {
[INFO] [stdout]     |               ---- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] ...
[INFO] [stdout] 304 |             None => panic!("Router fn does not return Some with wildcard route.")
[INFO] [stdout]     |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                 found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/router/route_handler.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match routes.get_route(Method::GET, "/some") {
[INFO] [stdout]    |               -------------------------------------- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 72 |             Some(_) => {},
[INFO] [stdout]    |             ^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/router/route_handler.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match routes.get_route(Method::GET, "/some") {
[INFO] [stdout]    |               -------------------------------------- this expression has type `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout] 72 |             Some(_) => {},
[INFO] [stdout] 73 |             None => panic!("Server routing error")
[INFO] [stdout]    |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(Option<fn(http::Request, std::collections::HashMap<String, String>) -> http::Response>, std::collections::HashMap<String, String>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ho`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "b44104bbb27e803f95980808f17e2a6ed5c3b969c10403dc8f81524381d735ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b44104bbb27e803f95980808f17e2a6ed5c3b969c10403dc8f81524381d735ef", kill_on_drop: false }`
[INFO] [stdout] b44104bbb27e803f95980808f17e2a6ed5c3b969c10403dc8f81524381d735ef
